200
How can I align the column to the right
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Columns.Add("Column").Alignment = 2
oG2antt.Items.AddItem(0)
oG2antt.Items.AddItem(1)

199
How do I change the column's caption
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Columns.Add("Column").Caption = "new caption"

198
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
OleObject oG2antt,var_Items,var_Items1

oG2antt = ole_1.Object
oG2antt.FormatAnchor(false,"<b><u><fgcolor=880000> </fgcolor></u></b>")
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	var_Items.CellValueFormat(var_Items.AddItem("Just an <a1>anchor</a> element ..."),0,1)
var_Items1 = oG2antt.Items
	var_Items1.CellValueFormat(var_Items1.AddItem("Just another <a2>anchor</a> element ..."),0,1)
oG2antt.Items.AddItem("next item")

197
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
OleObject oG2antt,var_Items,var_Items1

oG2antt = ole_1.Object
oG2antt.FormatAnchor(true,"<b><u><fgcolor=FF0000> </fgcolor></u></b>")
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	var_Items.CellValueFormat(var_Items.AddItem("Just an <a1>anchor</a> element ..."),0,1)
var_Items1 = oG2antt.Items
	var_Items1.CellValueFormat(var_Items1.AddItem("Just another <a2>anchor</a> element ..."),0,1)

196
Can I change the font for the tooltip
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ToolTipDelay = 1
oG2antt.ToolTipWidth = 364
oG2antt.Columns.Add("tootip").ToolTip = "<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>"

195
Can I change the font for the tooltip
OleObject oG2antt,var_StdFont

oG2antt = ole_1.Object
oG2antt.ToolTipDelay = 1
var_StdFont = oG2antt.ToolTipFont
	var_StdFont.Name = "Tahoma"
	var_StdFont.Size = 14
oG2antt.ToolTipWidth = 364
oG2antt.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"

194
Can I change the order of the buttons in the scroll bar
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ScrollOrderParts(1,"t,l,r")
oG2antt.ScrollOrderParts(0,"t,l,r")
oG2antt.ScrollBars = 15

193
The thumb size seems to be very small. Can I make it bigger
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ColumnAutoResize = false
oG2antt.Columns.Add("C1").Width = 256
oG2antt.Columns.Add("C2").Width = 256
oG2antt.Columns.Add("C3").Width = 256
oG2antt.ScrollThumbSize(1,64)

192
How can I display my text on the scroll bar, using a different font
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ScrollPartCaption(1,256,"This is <s><font Tahoma;12> just </font></s> text")
oG2antt.ColumnAutoResize = false
oG2antt.ScrollHeight = 20
oG2antt.Columns.Add("C1").Width = 256
oG2antt.Columns.Add("C2").Width = 256
oG2antt.Columns.Add("C3").Width = 256

191
How can I display my text on the scroll bar, using a different font
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ScrollPartCaption(1,256,"This is just a text")
oG2antt.ScrollFont(1).Size = 12
oG2antt.ColumnAutoResize = false
oG2antt.ScrollHeight = 20
oG2antt.Columns.Add("C1").Width = 256
oG2antt.Columns.Add("C2").Width = 256
oG2antt.Columns.Add("C3").Width = 256

190
How can I display my text on the scroll bar
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ScrollPartCaption(1,256,"this is just a text")
oG2antt.ColumnAutoResize = false
oG2antt.Columns.Add("C1").Width = 256
oG2antt.Columns.Add("C2").Width = 256
oG2antt.Columns.Add("C3").Width = 256

189
How do I enlarge or change the size of the control's scrollbars
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ScrollHeight = 18
oG2antt.ScrollWidth = 18
oG2antt.ScrollButtonWidth = 18
oG2antt.ScrollButtonHeight = 18
oG2antt.ScrollBars = 15

188
How do I assign a tooltip to a scrollbar
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ScrollToolTip(1,"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar")
oG2antt.ColumnAutoResize = false
oG2antt.Columns.Add("C1").Width = 256
oG2antt.Columns.Add("C2").Width = 256
oG2antt.Columns.Add("C3").Width = 256

187
How do I assign an icon to the button in the scrollbar
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oG2antt.ScrollPartVisible(1,32768,true)
oG2antt.ScrollPartCaption(1,32768,"<img>1</img>")
oG2antt.ScrollHeight = 18
oG2antt.ScrollButtonWidth = 18
oG2antt.ScrollBars = 5

186
I need to add a button in the scroll bar. Is this possible
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ScrollPartVisible(1,32768,true)
oG2antt.ScrollPartCaption(1,32768,"1")
oG2antt.ScrollBars = 5

185
Can I display an additional buttons in the scroll bar
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ScrollPartVisible(1,32768,true)
oG2antt.ScrollPartVisible(1,16384,true)
oG2antt.ScrollPartVisible(1,1,true)
oG2antt.ScrollPartVisible(1,2,true)
oG2antt.ScrollBars = 5

184
Can I display the picture aligned to the right, while the text aligned to the left
OleObject oG2antt,var_Items
any s

oG2antt = ole_1.Object
oG2antt.DefaultItemHeight = 48
oG2antt.Columns.Add("C1")
var_Items = oG2antt.Items
	s = var_Items.SplitCell(var_Items.AddItem("Text"),0)
	var_Items.CellPicture(,s,oG2antt.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)"))
	var_Items.CellHAlignment(,s,2)

183
How can I display a custom size picture to a cell or item
OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.DefaultItemHeight = 48
oG2antt.Columns.Add("C1")
var_Items = oG2antt.Items
	var_Items.CellPicture(var_Items.AddItem("Text"),0,oG2antt.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)"))

182
How can I display a multiple pictures to a cell or item
OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.DefaultItemHeight = 48
oG2antt.HTMLPicture("pic1","c:\exontrol\images\zipdisk.gif")
oG2antt.HTMLPicture("pic2","c:\exontrol\images\auction.gif")
oG2antt.Columns.Add("C1")
var_Items = oG2antt.Items
	var_Items.CellValueFormat(var_Items.AddItem("<img>pic1</img> Text <img>pic2</img> another text ..."),0,1)

181
How do I change the column's foreground color for numbers between an interval - Range
OleObject oG2antt,var_ConditionalFormat,var_Items,var_Items1,var_Items2,var_Items3

oG2antt = ole_1.Object
var_ConditionalFormat = oG2antt.ConditionalFormats.Add("dbl(%0) >= 2 and dbl(%0) <= 10")
	var_ConditionalFormat.Bold = true
	var_ConditionalFormat.ForeColor = RGB(255,0,0)
	var_ConditionalFormat.ApplyTo = 1 /*0x1 | */
oG2antt.Columns.Add("N1")
oG2antt.Columns.Add("N2")
var_Items = oG2antt.Items
	var_Items.CellValue(var_Items.AddItem(1),1,2)
var_Items1 = oG2antt.Items
	var_Items1.CellValue(var_Items1.AddItem(3),1,3)
var_Items2 = oG2antt.Items
	var_Items2.CellValue(var_Items2.AddItem(10),1,11)
var_Items3 = oG2antt.Items
	var_Items3.CellValue(var_Items3.AddItem(13),1,31)
oG2antt.SearchColumnIndex = 1

180
How do I change the item's foreground color for numbers between an interval - Range
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ConditionalFormats.Add("dbl(%0) >= 2 and dbl(%0) <= 10").ForeColor = RGB(255,0,0)
oG2antt.Columns.Add("Numbers")
oG2antt.Items.AddItem(1)
oG2antt.Items.AddItem(2)
oG2antt.Items.AddItem(10)
oG2antt.Items.AddItem(20)

179
How do I change the item's background color for numbers less than a value
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ConditionalFormats.Add("dbl(%0) < 10").BackColor = RGB(255,0,0)
oG2antt.Columns.Add("Numbers")
oG2antt.Items.AddItem(1)
oG2antt.Items.AddItem(2)
oG2antt.Items.AddItem(10)
oG2antt.Items.AddItem(20)

178
How do I underline the numbers greater than a value
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ConditionalFormats.Add("dbl(%0) >= 10").Underline = true
oG2antt.Columns.Add("Numbers")
oG2antt.Items.AddItem(1)
oG2antt.Items.AddItem(2)
oG2antt.Items.AddItem(10)
oG2antt.Items.AddItem(20)

177
How do I highlight in italic the numbers greater than a value
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ConditionalFormats.Add("dbl(%0) >= 10").StrikeOut = true
oG2antt.Columns.Add("Numbers")
oG2antt.Items.AddItem(1)
oG2antt.Items.AddItem(2)
oG2antt.Items.AddItem(10)
oG2antt.Items.AddItem(20)

176
How do I highlight in italic the numbers greater than a value
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ConditionalFormats.Add("dbl(%0) >= 10").Italic = true
oG2antt.Columns.Add("Numbers")
oG2antt.Items.AddItem(1)
oG2antt.Items.AddItem(2)
oG2antt.Items.AddItem(10)
oG2antt.Items.AddItem(20)

175
How do I highlight in bold the numbers greater than a value
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ConditionalFormats.Add("dbl(%0) >= 10").Bold = true
oG2antt.Columns.Add("Numbers")
oG2antt.Items.AddItem(1)
oG2antt.Items.AddItem(2)
oG2antt.Items.AddItem(10)
oG2antt.Items.AddItem(20)

174
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

OleObject oG2antt,var_Items
any h

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oG2antt.LinesAtRoot = 1
oG2antt.HasButtons = 4
oG2antt.HasButtonsCustom(false,16777216)
oG2antt.HasButtonsCustom(true,33554432)
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	h = var_Items.AddItem("Root 1")
	var_Items.InsertItem(h,,"Child 1")
	var_Items.InsertItem(h,,"Child 2")
	var_Items.ExpandItem(h,true)
	h = var_Items.AddItem("Root 2")
	var_Items.InsertItem(h,,"Child")

173
Can I use your EBN files to change the visual appearance for radio buttons

OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oG2antt.RadioImage(false,16777216)
oG2antt.RadioImage(true,33554432)
oG2antt.Columns.Add("Radio").Def(1,true)
var_Items = oG2antt.Items
	var_Items.AddItem("Radio 1")
	var_Items.CellState(var_Items.AddItem("Radio 2"),0,1)
	var_Items.AddItem("Radio 3")

172
Can I use your EBN files to change the visual appearance for checkbox cells

OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oG2antt.CheckImage(0,16777216)
oG2antt.CheckImage(1,33554432)
oG2antt.Columns.Add("Check").Def(0,true)
var_Items = oG2antt.Items
	var_Items.AddItem("Check 1")
	var_Items.CellState(var_Items.AddItem("Check 2"),0,1)

171
How do I change the visual aspect for thumb parts in the scroll bars, using EBN
OleObject oG2antt,var_Appearance,var_Items

oG2antt = ole_1.Object
oG2antt.BeginUpdate()
var_Appearance = oG2antt.VisualAppearance
	var_Appearance.Add(1,"c:\exontrol\images\normal.ebn")
	var_Appearance.Add(2,"c:\exontrol\images\pushed.ebn")
	var_Appearance.Add(3,"c:\exontrol\images\hot.ebn")
oG2antt.Background(388,16777216 /*0x1000000*/)
oG2antt.Background(389,33554432 /*0x2000000*/)
oG2antt.Background(391,50331648 /*0x3000000*/)
oG2antt.Background(260,16777216 /*0x1000000*/)
oG2antt.Background(261,33554432 /*0x2000000*/)
oG2antt.Background(263,50331648 /*0x3000000*/)
oG2antt.ScrollBars = 3855 /*exVScrollEmptySpace | exHScrollEmptySpace | exVScrollOnThumbRelease | exHScrollOnThumbRelease | exDisableBoth*/
oG2antt.ScrollBySingleLine = true
oG2antt.Columns.Add("Def")
var_Items = oG2antt.Items
	var_Items.AddItem(1)
	var_Items.AddItem(2)
	var_Items.AddItem(3)
oG2antt.EndUpdate()

170
How do I change the visual aspect only for the thumb in the scroll bar, using EBN
OleObject oG2antt,var_Appearance,var_Items

oG2antt = ole_1.Object
oG2antt.BeginUpdate()
var_Appearance = oG2antt.VisualAppearance
	var_Appearance.Add(1,"c:\exontrol\images\normal.ebn")
	var_Appearance.Add(2,"c:\exontrol\images\pushed.ebn")
	var_Appearance.Add(3,"c:\exontrol\images\hot.ebn")
oG2antt.Background(388,16777216 /*0x1000000*/)
oG2antt.Background(389,33554432 /*0x2000000*/)
oG2antt.Background(391,50331648 /*0x3000000*/)
oG2antt.ScrollBars = 3855 /*exVScrollEmptySpace | exHScrollEmptySpace | exVScrollOnThumbRelease | exHScrollOnThumbRelease | exDisableBoth*/
oG2antt.ScrollBySingleLine = true
oG2antt.Columns.Add("Def")
var_Items = oG2antt.Items
	var_Items.AddItem(1)
	var_Items.AddItem(2)
	var_Items.AddItem(3)
oG2antt.EndUpdate()

169
I've seen that you can change the visual appearance for the scroll bar. How can I do that

OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oG2antt.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
oG2antt.Background(324,16777216 /*0x1000000*/)
oG2antt.Background(325,33554432 /*0x2000000*/)
oG2antt.Background(327,50331648 /*0x3000000*/)
oG2antt.Background(404,RGB(240,240,240))
oG2antt.Background(276,RGB(240,240,240))
oG2antt.Background(511,RGB(240,240,240))
oG2antt.Columns.Add("S").Width = 32
oG2antt.Columns.Add("Level 1").LevelKey = 1
oG2antt.Columns.Add("Level 2").LevelKey = 1
oG2antt.Columns.Add("Level 3").LevelKey = 1
oG2antt.Columns.Add("E1").Width = 32
oG2antt.Columns.Add("E2").Width = 32
oG2antt.Columns.Add("E3").Width = 32
oG2antt.Columns.Add("E4").Width = 32
oG2antt.ColumnAutoResize = false
oG2antt.ScrollBars = 15

168
Is there any option to highligth the column from the cursor - point

OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.Background(32,16777216 /*0x1000000*/)
oG2antt.Columns.Add("S").Width = 32
oG2antt.Columns.Add("Level 1").LevelKey = 1
oG2antt.Columns.Add("Level 2").LevelKey = 1
oG2antt.Columns.Add("Level 3").LevelKey = 1
oG2antt.Columns.Add("E1").Width = 32
oG2antt.Columns.Add("E2").Width = 32
oG2antt.Columns.Add("E3").Width = 32
oG2antt.Columns.Add("E4").Width = 32

167
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.Background(20,16777216 /*0x1000000*/)
oG2antt.Background(21,RGB(255,20,20))
oG2antt.Columns.Add("Filter").DisplayFilterButton = true

166
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

OleObject oG2antt,var_Column

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oG2antt.Background(8,16777216 /*0x1000000*/)
oG2antt.Background(9,16777216 /*0x1000000*/)
oG2antt.Background(10,33554432 /*0x2000000*/)
oG2antt.Background(11,16777216 /*0x1000000*/)
oG2antt.Background(12,RGB(230,230,230))
oG2antt.Background(13,RGB(230,230,230))
oG2antt.Background(14,16777216 /*0x1000000*/)
var_Column = oG2antt.Columns.Add("Date")
	var_Column.FilterType = 4
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true

165
How do I change the visual aspect of the close button in the filter bar, using EBN

OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.Background(1,16777216 /*0x1000000*/)
oG2antt.Columns.Add("Filter").FilterType = 1
oG2antt.ApplyFilter()

164
How do I change the visual aspect of buttons in the cell, using EBN

OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oG2antt.Background(2,16777216 /*0x1000000*/)
oG2antt.Background(3,33554432 /*0x2000000*/)
oG2antt.SelForeColor = RGB(0,0,0)
oG2antt.ShowFocusRect = false
oG2antt.Columns.Add("Column 1").Def(2,true)
oG2antt.Items.AddItem("Button 1")
oG2antt.Items.AddItem("Button 2")
oG2antt.Columns.Add("Column 2")

163
How do I change the visual aspect of the drop down filter button, using EBN

OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.Background(0,16777216 /*0x1000000*/)
oG2antt.Columns.Add("Filter").DisplayFilterButton = true

162
How do I enable resizing the columns at runtime
OleObject oG2antt,var_Items,var_Items1

oG2antt = ole_1.Object
oG2antt.ColumnsAllowSizing = true
oG2antt.MarkSearchColumn = false
oG2antt.HeaderVisible = false
oG2antt.Columns.Add("Column 1")
oG2antt.Columns.Add("Column 2")
oG2antt.DrawGridLines = 2
var_Items = oG2antt.Items
	var_Items.CellValue(var_Items.AddItem("Item 1"),1,"Sub Item 1")
var_Items1 = oG2antt.Items
	var_Items1.CellValue(var_Items1.AddItem("Item 2"),1,"Sub Item 2")

161
How can I select the second inner column when spliting the cells
OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.SelectColumnInner = 1
oG2antt.FullRowSelect = false
oG2antt.DrawGridLines = -1
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	var_Items.CellValue(,var_Items.SplitCell(var_Items.AddItem("Split Cell 1.1"),0),"Split Cell 2.1")
	var_Items.CellValue(,var_Items.SplitCell(var_Items.AddItem("Split Cell 1.2"),0),"Split Cell 2.2")
	var_Items.SelectItem(var_Items.FirstVisibleItem,true)

160
How can I sort by multiple columns

OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SingleSort = false
oG2antt.Columns.Add("C1").SortOrder = 1
oG2antt.Columns.Add("C2").SortOrder = 2
oG2antt.Columns.Add("C3").SortOrder = 1

159
How can I add several columns to control's sort bar
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SortBarVisible = true
oG2antt.SortBarColumnWidth = 48
oG2antt.Columns.Add("C1").SortOrder = 1
oG2antt.Columns.Add("C2").SortOrder = 2

158
How can I change the width of the columns being displayed in the sort bar
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SortBarVisible = true
oG2antt.SortBarColumnWidth = 48
oG2antt.Columns.Add("C1").SortOrder = 1
oG2antt.Columns.Add("C2").SortOrder = 2

157
How can I change the height of the sort bar's
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SortBarVisible = true
oG2antt.SortBarHeight = 48

156
How can I change the sort bar's foreground color
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SortBarVisible = true
oG2antt.ForeColorSortBar = RGB(255,0,0)

155
How can I change the visual appearance of the control's sort bar, using EBN files

OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oG2antt.SortBarVisible = true
oG2antt.BackColorSortBar = 16777216 /*0x1000000*/
oG2antt.BackColorSortBarCaption = 33554432 /*0x2000000*/
oG2antt.Appearance = 0

154
How can I change the sort bar's background color
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SortBarVisible = true
oG2antt.BackColorSortBar = RGB(255,0,0)
oG2antt.BackColorSortBarCaption = RGB(128,0,0)

153
How can I change the default caption being displayed in the control's sort bar
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SortBarVisible = true
oG2antt.SortBarCaption = "new caption"

152
How can I show the locked / fixed items on the bottom side of the control
OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.ShowLockedItems = true
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	var_Items.LockedItemCount(1,2)
	var_Items.CellValue(var_Items.LockedItem(1,0),0,"locked item 1")
	var_Items.CellValue(var_Items.LockedItem(1,1),0,"locked item 2")
	var_Items.AddItem("un-locked item")

151
How can I show the locked / fixed items
OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.ShowLockedItems = true
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	var_Items.LockedItemCount(0,2)
	var_Items.CellValue(var_Items.LockedItem(0,0),0,"locked item 1")
	var_Items.CellValue(var_Items.LockedItem(0,1),0,"locked item 2")
	var_Items.AddItem("un-locked item")

150
How can I hide the locked / fixed items
OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.ShowLockedItems = false
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	var_Items.LockedItemCount(0,1)
	var_Items.CellValue(var_Items.LockedItem(0,0),0,"locked item")
	var_Items.AddItem("un-locked item")

149
How can I show the control's sort bar
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SortBarVisible = true

148
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.PictureLevelHeader = oG2antt.ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)")
oG2antt.PictureDisplayLevelHeader = 49
oG2antt.Columns.Add("S").Width = 32
oG2antt.Columns.Add("Level 1").LevelKey = 1
oG2antt.Columns.Add("Level 2").LevelKey = 1
oG2antt.Columns.Add("Level 3").LevelKey = 1
oG2antt.Columns.Add("E1").Width = 32
oG2antt.Columns.Add("E2").Width = 32
oG2antt.Columns.Add("E3").Width = 32
oG2antt.Columns.Add("E4").Width = 32

147
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.PictureLevelHeader = oG2antt.ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)")
oG2antt.PictureDisplayLevelHeader = 18
oG2antt.Columns.Add("S").Width = 32
oG2antt.Columns.Add("Level 1").LevelKey = 1
oG2antt.Columns.Add("Level 2").LevelKey = 1
oG2antt.Columns.Add("Level 3").LevelKey = 1
oG2antt.Columns.Add("E").Width = 32

146
How can I display a picture on the control's header, when multiple levels are displayed

OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.PictureLevelHeader = oG2antt.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oG2antt.Columns.Add("S").Width = 32
oG2antt.Columns.Add("Level 1").LevelKey = 1
oG2antt.Columns.Add("Level 2").LevelKey = 1
oG2antt.Columns.Add("Level 3").LevelKey = 1

145
How can I change the header's background color, when multiple levels are displayed
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.BackColorLevelHeader = RGB(250,0,0)
oG2antt.Columns.Add("S").Width = 32
oG2antt.Columns.Add("Level 1").LevelKey = 1
oG2antt.Columns.Add("Level 2").LevelKey = 1
oG2antt.Columns.Add("Level 3").LevelKey = 1

144
Can I programmatically scroll the control
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Columns.Add("Column")
oG2antt.Items.AddItem(0)
oG2antt.Items.AddItem(1)
oG2antt.Items.AddItem(2)
oG2antt.Items.AddItem(3)
oG2antt.PutItems(oG2antt.GetItems(0))
oG2antt.PutItems(oG2antt.GetItems(0))
oG2antt.ScrollPos(true,1)

143
How do I disable expanding or collapsing an item when user presses the arrow keys
OleObject oG2antt,var_Items
any h

oG2antt = ole_1.Object
oG2antt.ExpandOnKeys = false
oG2antt.LinesAtRoot = -1
oG2antt.Columns.Add("Column 1")
var_Items = oG2antt.Items
	h = var_Items.AddItem("Root")
	var_Items.InsertItem(h,,"Child 1")
	var_Items.InsertItem(h,,"Child 2")
	var_Items.ExpandItem(h,true)

142
How do I expand automatically the items while user types characters to searching for something ( incremental searching )
OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.ExpandOnSearch = true
oG2antt.LinesAtRoot = -1
oG2antt.AutoSearch = true
oG2antt.Columns.Add("Column").AutoSearch = 1
var_Items = oG2antt.Items
	var_Items.InsertItem(var_Items.InsertItem(var_Items.AddItem("text"),,"some text"),,"another text")
	var_Items.InsertItem(var_Items.InsertItem(var_Items.AddItem("text"),,"some text"),,"another text")

141
Can I programmatically scroll the control
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Columns.Add("Column")
oG2antt.Items.AddItem(0)
oG2antt.Items.AddItem(1)
oG2antt.Items.AddItem(2)
oG2antt.Items.AddItem(3)
oG2antt.PutItems(oG2antt.GetItems(0))
oG2antt.PutItems(oG2antt.GetItems(0))
oG2antt.Scroll(1)

140
Do you have some function to load data from a safe array
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Columns.Add("Column")
oG2antt.Items.AddItem(0)
oG2antt.PutItems(oG2antt.GetItems(0))

139
Do you have some function to retrieve all items to a safe array
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Columns.Add("Column")
oG2antt.Items.AddItem(0)
oG2antt.PutItems(oG2antt.GetItems(0))
oG2antt.Items.AddItem(1)
oG2antt.PutItems(oG2antt.GetItems(0))
oG2antt.Items.AddItem(2)
oG2antt.PutItems(oG2antt.GetItems(0))
oG2antt.Items.AddItem(3)

138
How can still display the selected items when the control loses the focus
OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.HideSelection = false
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	var_Items.AddItem("Item 3")
	var_Items.AddItem("Item 1")
	var_Items.SelectItem(var_Items.AddItem("Item 2"),true)

137
How can I hide a column
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Columns.Add("Hidden").Visible = false
oG2antt.Columns.Add("2")
oG2antt.Columns.Add("3")
oG2antt.Columns.Add("4")
oG2antt.Columns.Add("5")

136
How can I ensure that a column is visible and fits the control's client area
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ColumnAutoResize = false
oG2antt.Columns.Add("1").Width = 128
oG2antt.Columns.Add("2").Width = 128
oG2antt.Columns.Add("3").Width = 128
oG2antt.Columns.Add("4").Width = 128
oG2antt.Columns.Add("5").Width = 128
oG2antt.EnsureVisibleColumn("5")

135
I've seen that the width of the tooltip is variable. Can I make it larger
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ToolTipWidth = 328
oG2antt.Columns.Add("tootip").ToolTip = "this is a tooltip that should be very very very very very very very long"

134
How do I disable showing the tooltip for all control
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ToolTipDelay = 0
oG2antt.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"

133
How do I let the tooltip being displayed longer
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ToolTipPopDelay = 10000
oG2antt.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"

132
How do I show the tooltip quicker
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ToolTipDelay = 1
oG2antt.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"

131
How do I change the caption being displayed in the control's filter bar

OleObject oG2antt,var_Column

oG2antt = ole_1.Object
oG2antt.FilterBarCaption = "your filter caption"
var_Column = oG2antt.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
oG2antt.ApplyFilter()

130
How do I disable expanding or collapsing an item when user double clicks it
OleObject oG2antt,var_Items
any h

oG2antt = ole_1.Object
oG2antt.ExpandOnDblClick = false
oG2antt.LinesAtRoot = -1
oG2antt.Indent = 13
oG2antt.Columns.Add("Column 1")
var_Items = oG2antt.Items
	h = var_Items.AddItem("Root")
	var_Items.InsertItem(h,,"Child 1")
	var_Items.InsertItem(h,,"Child 2")
	var_Items.ExpandItem(h,true)

129
How do I search case sensitive, using your incremental search feature
OleObject oG2antt,var_Columns,var_Items,var_Items1

oG2antt = ole_1.Object
oG2antt.AutoSearch = true
oG2antt.ASCIILower = ""
var_Columns = oG2antt.Columns
	var_Columns.Add("exStartWith").AutoSearch = 0
	var_Columns.Add("exContains").AutoSearch = 1
var_Items = oG2antt.Items
	var_Items.CellValue(var_Items.AddItem("text"),1,"another text")
var_Items1 = oG2antt.Items
	var_Items1.CellValue(var_Items1.AddItem("text"),1,"another text")

128
How do I disable the control
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Enabled = false

127
How do I enable the incremental search feature within a column
OleObject oG2antt,var_Columns,var_Items,var_Items1

oG2antt = ole_1.Object
oG2antt.AutoSearch = true
var_Columns = oG2antt.Columns
	var_Columns.Add("exStartWith").AutoSearch = 0
	var_Columns.Add("exContains").AutoSearch = 1
var_Items = oG2antt.Items
	var_Items.CellValue(var_Items.AddItem("text"),1,"another text")
var_Items1 = oG2antt.Items
	var_Items1.CellValue(var_Items1.AddItem("text"),1,"another text")

126
How do I call your x-script language
OleObject oG2antt,var_Column

oG2antt = ole_1.Object
var_Column = oG2antt.ExecuteTemplate("Columns.Add(`Column`)")
	var_Column.HeaderStrikeOut = true
	var_Column.HeaderBold = true

125
How do I call your x-script language
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Template = "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`"

124
How do I show alternate rows in different background color

OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.BackColorAlternate = RGB(240,240,240)
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	var_Items.AddItem("Item 1")
	var_Items.AddItem("Item 2")
	var_Items.AddItem("Item 3")
	var_Items.AddItem("Item 4")
	var_Items.AddItem("Item 5")

123
How do I enlarge the drop down filter window
OleObject oG2antt,var_Column

oG2antt = ole_1.Object
oG2antt.FilterBarDropDownHeight = -320
var_Column = oG2antt.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterBarDropDownWidth = -320
oG2antt.Items.AddItem("Item 1")
oG2antt.Items.AddItem("Item 2")

122
How do I filter programmatically the control
OleObject oG2antt,var_Column

oG2antt = ole_1.Object
var_Column = oG2antt.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 3
	var_Column.Filter = "Item*"
oG2antt.Items.AddItem("Item 1")
oG2antt.Items.AddItem("")
oG2antt.Items.AddItem("Item 2")
oG2antt.ApplyFilter()

121
How do I change the font of the control's filterbar
OleObject oG2antt,var_Column

oG2antt = ole_1.Object
oG2antt.FilterBarFont.Size = 20
var_Column = oG2antt.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
oG2antt.ApplyFilter()

120
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

OleObject oG2antt,var_Column

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.FilterBarBackColor = 16777216 /*0x1000000*/
var_Column = oG2antt.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
oG2antt.ApplyFilter()

119
How do I change the background color of the control's filterbar
OleObject oG2antt,var_Column

oG2antt = ole_1.Object
oG2antt.FilterBarBackColor = RGB(240,240,240)
var_Column = oG2antt.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
oG2antt.ApplyFilter()

118
How do I change the foreground color of the control's filterbar

OleObject oG2antt,var_Column

oG2antt = ole_1.Object
oG2antt.FilterBarForeColor = RGB(255,0,0)
var_Column = oG2antt.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
oG2antt.ApplyFilter()

117
How do I change the height of the control's filterbar
OleObject oG2antt,var_Column

oG2antt = ole_1.Object
oG2antt.FilterBarHeight = 32
var_Column = oG2antt.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
oG2antt.ApplyFilter()

116
How do I change the header's foreground color
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ForeColorHeader = RGB(255,0,0)
oG2antt.Columns.Add("Column 1")
oG2antt.Columns.Add("Column 2")
oG2antt.Items.AddItem("Item 1")

115
I have a picture on the control's background, the question is how do I draw selection as semi-transparent
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Picture = oG2antt.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oG2antt.SelBackMode = 1
oG2antt.Columns.Add("Column")
oG2antt.Items.AddItem("Item 1")
oG2antt.Items.AddItem("Item 2")

114
It seems that the control uses the TAB key, is there any way to avoid that
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.UseTabKey = false

113
I have FullRowSelect property on False, how do I force the user to select cells only in a specified column
OleObject oG2antt,var_Items

oG2antt = ole_1.Object
oG2antt.SelectColumnIndex = 1
oG2antt.FullRowSelect = false
oG2antt.SelectColumn = true
oG2antt.Columns.Add("Column 1")
oG2antt.Columns.Add("Column 2")
var_Items = oG2antt.Items
	var_Items.CellValue(var_Items.AddItem("Item 1"),1,"SubItem 1")

112
How do I assign a database to your control, using ADO, ADOR or ADODB objects
OleObject oG2antt,rs

oG2antt = ole_1.Object
oG2antt.ColumnAutoResize = false
oG2antt.ContinueColumnScroll = false
rs = CREATE OLEObject
rs.ConnectToNewObject("ADOR.Recordset")
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExG2antt\Sample\Access\misc.accdb",3,3)
oG2antt.DataSource = rs

111
How do I change the visual appearance effect for the selected item, using EBN
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oG2antt.SelBackColor = 16777216 /*0x1000000*/
oG2antt.SelForeColor = RGB(0,0,0)
oG2antt.ShowFocusRect = false
oG2antt.Columns.Add("Column")
oG2antt.Items.AddItem(0)
oG2antt.Items.AddItem(1)

110
How do I change the colors for the selected item
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SelBackColor = RGB(0,0,0)
oG2antt.Columns.Add("Column")
oG2antt.Items.AddItem(0)
oG2antt.Items.AddItem(1)

109
How can I hide the frame/rectangle arround the focused item
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.BeginUpdate()
oG2antt.SelBackColor = oG2antt.BackColor
oG2antt.SelForeColor = oG2antt.ForeColor
oG2antt.ShowFocusRect = false
oG2antt.Columns.Add("Column")
oG2antt.Items.AddItem(0)
oG2antt.Items.AddItem(1)
oG2antt.Items.AddItem("")
oG2antt.EndUpdate()

108
How can I change the control's font
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.Font.Name = "Tahoma"
oG2antt.Columns.Add("Column")

107
I can't scroll to the end of the data. What can I do
OleObject oG2antt,var_Items,var_Items1,var_Items2,var_Items3

oG2antt = ole_1.Object
oG2antt.ScrollBySingleLine = true
oG2antt.DrawGridLines = -2
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	var_Items.ItemHeight(var_Items.AddItem(0),13)
oG2antt.PutItems(oG2antt.GetItems(0))
var_Items1 = oG2antt.Items
	var_Items1.ItemHeight(var_Items1.AddItem(1),26)
oG2antt.PutItems(oG2antt.GetItems(0))
var_Items2 = oG2antt.Items
	var_Items2.ItemHeight(var_Items2.AddItem(2),36)
oG2antt.PutItems(oG2antt.GetItems(0))
var_Items3 = oG2antt.Items
	var_Items3.ItemHeight(var_Items3.AddItem(3),48)
oG2antt.PutItems(oG2antt.GetItems(0))

106
How do I specify the column where the tree lines / hierarchy are shown

OleObject oG2antt,var_Items
any h

oG2antt = ole_1.Object
oG2antt.LinesAtRoot = 1
oG2antt.TreeColumnIndex = 1
oG2antt.Columns.Add("Column 1")
oG2antt.Columns.Add("Column 2")
var_Items = oG2antt.Items
	h = var_Items.AddItem("Root 1.1")
	var_Items.CellValue(h,1,"Root 1.2")
	var_Items.CellValue(var_Items.InsertItem(h,,"Child 1.1"),1,"Child 1.2")
	var_Items.CellValue(var_Items.InsertItem(h,,"Child 2.1"),1,"Child 2.2")
	var_Items.ExpandItem(h,true)
	h = var_Items.AddItem("Root 2.1")
	var_Items.CellValue(h,1,"Root 2.2")
	var_Items.CellValue(var_Items.InsertItem(h,,"Child 1.1"),1,"Child 1.2")

105
How do I specify the indentation of the child items relative to their parents

OleObject oG2antt,var_Items
any h

oG2antt = ole_1.Object
oG2antt.LinesAtRoot = 1
oG2antt.Indent = 11
oG2antt.Columns.Add("Column")
var_Items = oG2antt.Items
	h = var_Items.AddItem("Root 1")
	var_Items.InsertItem(h,,"Child 1")
	var_Items.InsertItem(h,,"Child 2")
	var_Items.ExpandItem(h,true)
	h = var_Items.AddItem("Root 2")
	var_Items.InsertItem(h,,"Child")

104
Is there any option to select an item using the right button of the mouse (rclick)
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.RClickSelect = true
oG2antt.Columns.Add("Column")
oG2antt.Items.AddItem("Item 1")
oG2antt.Items.AddItem("Item 2")

103
I have FullRowSelect property on False, how do I select a column
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SelectColumnIndex = 1
oG2antt.FullRowSelect = false

102
How can I scroll columns one by one, not pixel by pixel
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.ContinueColumnScroll = false
oG2antt.ColumnAutoResize = false
oG2antt.Columns.Add("1").Width = 128
oG2antt.Columns.Add("2").Width = 128
oG2antt.Columns.Add("3").Width = 128
oG2antt.Columns.Add("4").Width = 128
oG2antt.Columns.Add("5").Width = 128

101
How can I enable multiple items selection
OleObject oG2antt

oG2antt = ole_1.Object
oG2antt.SingleSel = false
oG2antt.Columns.Add("Column")
oG2antt.Items.AddItem(0)
oG2antt.Items.AddItem(1)
oG2antt.Items.AddItem(2)